home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / t3_1 / tman.lha / tman / Makefile < prev    next >
Makefile  |  1988-10-28  |  823b  |  35 lines

  1. M4 =        m4
  2. MAKEINDEX =    ./makeindex
  3. BIBTEX =    bibtex
  4. LATEX =        latex
  5.  
  6. ALLFILES =    $(FILES) $(INDEX) $(BIBFILE)
  7. FILES =        $(FILES0) $(FILES1) $(FILES2) $(FILES3) \
  8.         $(FILES4) $(FILES5)
  9.  
  10. FILES0 =    indx.tex intro.tex preface.tex title.tex
  11. FILES1 =    control.tex environment.tex object.tex operation.tex \
  12.         semantics.tex state.tex
  13. FILES2 =    list.tex number.tex structure.tex text.tex tree.tex
  14. FILES3 =    debug.tex feature.tex file.tex port.tex program.tex \
  15.         syntax.tex user.tex
  16. FILES4 =    foreign.tex ascii.tex library.tex lisp.tex
  17. FILES5 =    advice.tex future.tex notes.tex
  18. BIBFILE =    manual.bbl
  19. BIB =        man.bib
  20. INDEX =        index.tex
  21.  
  22. .SUFFIXES: .x .tex
  23.  
  24. .x.tex:
  25.     $(M4) manual.m4 $*.x > $*.tex
  26.  
  27. all: $(FILES)
  28.  
  29. $(INDEX) : manual.idx
  30.     $(MAKEINDEX) -s myindexstyle manual.idx
  31.     mv manual.ind $(INDEX)
  32.  
  33. $(BIBFILE) : $(BIB) manual.aux
  34.     bibtex manual
  35.